<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
    <head>
        <title>qTrans</title>

        <script src="jquery.min.js" type="text/javascript"></script> 

        <!--TINY MCE EDITOR-->

        <script src="editor.js" type="text/javascript"></script>

        <script src="tinymce/tiny_mce.js" type="text/javascript"></script>

        <script type="text/javascript">

            tinyMCE.init({

                mode : "textareas",
                theme : "advanced",
                plugins : "lists,inlinepopups,paste,directionality,xhtmlxtras",
                theme_advanced_toolbar_location : "top",
                theme_advanced_toolbar_align : "left",
                theme_advanced_statusbar_location : "bottom",
                theme_advanced_resizing : false,
                /*content_css : base_url+"assets/js/tinymce/themes/advanced/skins/default/custom_content.css", */
                relative_urls:false,
                remove_script_host:false,
                convert_urls:false,
                remove_linebreaks:true,
                gecko_spellcheck:true,
                keep_styles:false,
                entities:"38,amp,60,lt,62,gt",
                accessibility_focus:true,
                tabfocus_elements:"major-publishing-actions",
                media_strict:false,
                paste_remove_styles:true,
                paste_remove_spans:true,
                paste_strip_class_attributes:"all",
                paste_text_use_dialog:true,
                extended_valid_elements:"article[*],aside[*],audio[*],canvas[*],command[*],datalist[*],details[*],embed[*],figcaption[*],figure[*],footer[*],header[*],hgroup[*],keygen[*],mark[*],meter[*],nav[*],output[*],progress[*],section[*],source[*],summary,time[*],video[*],wbr",
                wpeditimage_disable_captions:false,
                plugins:"inlinepopups,spellchecker,tabfocus,paste,media",
                content_css:"editor-style.css",
                elements:"content",
                wpautop:true,
                apply_source_formatting:false,
                theme_advanced_buttons1:"bold,italic,strikethrough,|,bullist,numlist,blockquote,|,justifyleft,justifycenter,justifyright,|,link,unlink,wp_more,|,spellchecker,separator",
                theme_advanced_buttons2:"formatselect,underline,justifyfull,forecolor,|,pastetext,pasteword,removeformat,|,charmap,|,outdent,indent,|,undo,redo,wp_help",
                theme_advanced_buttons3:"",
                theme_advanced_buttons4:""

            });

        </script>

        <link href="qtrans.css" rel="stylesheet" type="text/css">

    </head>
    <body>

        <?

            // enable the use of following languages (order=>language)
            $q_config['enabled_languages'] = array(
            '0' => 'de',
            '1' => 'en' 
            /*'2' => 'zh' */
            );

            $q_config['language_name']['de'] = "Deutsch";
            $q_config['language_name']['en'] = "English";
            $q_config['language_name']['zh'] = "中文";

            // sets default language
            $q_config['default_language'] = 'en';

            // Load qTranslate
            require_once(dirname(__FILE__)."/qtranslate_javascript.php");
            require_once(dirname(__FILE__)."/qtranslate_utils.php");  
            require_once(dirname(__FILE__)."/qtranslate_core.php"); 
            require_once(dirname(__FILE__)."/qtranslate_wphacks.php");

            // init Javascript functions
            qtrans_initJS();

        ?>

        <div id="titlediv">

            <div id="titlewrap">

                <input type="text" name="post_title" size="30" tabindex="1" value="&lt;!--:me--&gt;Turistička Terminologija&lt;!--:--&gt;&lt;!--:en--&gt;Tourism Terminology&lt;!--:--&gt;&lt;!--:ru--&gt;&#65279;&#65279;Туристическая терминология&lt;!--:--&gt;&lt;!--:fr--&gt;Tourisme Terminologie&lt;!--:--&gt;&lt;!--:al--&gt;Turizmi Terminologjia&lt;!--:--&gt;" id="title" autocomplete="off">

            </div>

            <div class="inside"></div>

        </div>

        <div class="postarea" id="postdivrich">

            <div class="wp-editor-wrap tmce-active" id="wp-content-wrap">

                <div class="wp-editor-tools" id="wp-content-editor-tools">

                </div>

                <div id="wp-content-editor-container" class="wp-editor-container">

                    <!--THIS CONTENT WILL BE HIDDEN BY JAVASCRIPT LANGUAGE-->
                    <?

                        $string = "<textarea id=\"content\" name=\"content\" cols=\"40\" rows=\"20\" class=\"wp-editor-area\">
                        Test text
                        </textarea>";

                        echo qtrans_modifyRichEditor($string);
                        //echo $string;

                    ?>
                     <textarea id="qtrans_textarea_content" name="qtrans_textarea_content" tabindex="2" rows="20" cols="40" style="display:none" onblur="qtrans_save(this.value);"></textarea>
                </div>

            </div>

        </div>





    </body>
</html>